Skip to main content

backScripts

Type

function

Summary

Returns a list of objects that have been inserted into the message path after the stack the target object belongs to.

Syntax

the backScripts
backScripts()

Description

Use the backScripts function to find out which scripts receive messages and function calls after the current object, the objects that own the current object, and any stacks in the stacksInUse.

A script inserted into the back with the insert script command receives messages after all objects in the message path, just before the application itself receives the message.

If more than one object is in the backScripts, their order in the message path is the same as their order in the list. For example, the first object in the backScripts receives messages before the second object. This order is the reverse of the order in which the objects were added with the insert script command.

Examples

put the backScripts
if the long ID of me is not among the lines of the backScripts then beep

control structure: pass

function: frontScripts

glossary: backScript, message, message path, object, return, script

property: behavior, stacksInUse

command: call, dispatch, insert script, remove script, send, start using

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?